# 查找 GTest 包
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})

# 添加测试
add_executable(sort_test test_main.cpp)
target_link_libraries(sort_test ${GTEST_LIBRARIES} pthread SORT_LIB)